/*   1:    */ package org.jetbrains.generate.tostring.config;
/*   2:    */ 
/*   3:    */ public class Config
/*   4:    */ {
/*   5: 24 */   public boolean useFullyQualifiedName = false;
/*   6: 25 */   public InsertWhere insertNewMethodOption = InsertWhere.AT_CARET;
/*   7: 26 */   public DuplicationPolicy whenDuplicatesOption = DuplicationPolicy.ASK;
/*   8: 27 */   public boolean filterConstantField = true;
/*   9: 28 */   public boolean filterEnumField = false;
/*  10: 29 */   public boolean filterTransientModifier = false;
/*  11: 30 */   public boolean filterStaticModifier = true;
/*  12: 31 */   public String filterFieldName = null;
/*  13: 32 */   public String filterMethodName = null;
/*  14: 33 */   public String filterMethodType = null;
/*  15: 34 */   public String filterFieldType = null;
/*  16: 35 */   public boolean filterLoggers = true;
/*  17: 36 */   public boolean addImplementSerializable = false;
/*  18: 37 */   public boolean enableMethods = false;
/*  19: 38 */   public boolean jumpToMethod = true;
/*  20: 39 */   public int sortElements = 0;
/*  21: 41 */   private FilterPattern a = null;
/*  22:    */   
/*  23:    */   public boolean isUseFullyQualifiedName()
/*  24:    */   {
/*  25: 44 */     return this.useFullyQualifiedName;
/*  26:    */   }
/*  27:    */   
/*  28:    */   public void setUseFullyQualifiedName(boolean paramBoolean)
/*  29:    */   {
/*  30: 48 */     this.useFullyQualifiedName = paramBoolean;
/*  31:    */   }
/*  32:    */   
/*  33:    */   public DuplicationPolicy getReplaceDialogInitialOption()
/*  34:    */   {
/*  35: 52 */     return this.whenDuplicatesOption;
/*  36:    */   }
/*  37:    */   
/*  38:    */   public void setReplaceDialogInitialOption(DuplicationPolicy paramDuplicationPolicy)
/*  39:    */   {
/*  40: 56 */     this.whenDuplicatesOption = paramDuplicationPolicy;
/*  41:    */   }
/*  42:    */   
/*  43:    */   public InsertWhere getInsertNewMethodInitialOption()
/*  44:    */   {
/*  45: 60 */     return this.insertNewMethodOption;
/*  46:    */   }
/*  47:    */   
/*  48:    */   public void setInsertNewMethodInitialOption(InsertWhere paramInsertWhere)
/*  49:    */   {
/*  50: 64 */     this.insertNewMethodOption = paramInsertWhere;
/*  51:    */   }
/*  52:    */   
/*  53:    */   public boolean isFilterConstantField()
/*  54:    */   {
/*  55: 68 */     return this.filterConstantField;
/*  56:    */   }
/*  57:    */   
/*  58:    */   public void setFilterConstantField(boolean paramBoolean)
/*  59:    */   {
/*  60: 72 */     this.filterConstantField = paramBoolean;
/*  61:    */   }
/*  62:    */   
/*  63:    */   public boolean isFilterTransientModifier()
/*  64:    */   {
/*  65: 76 */     return this.filterTransientModifier;
/*  66:    */   }
/*  67:    */   
/*  68:    */   public void setFilterTransientModifier(boolean paramBoolean)
/*  69:    */   {
/*  70: 80 */     this.filterTransientModifier = paramBoolean;
/*  71:    */   }
/*  72:    */   
/*  73:    */   public boolean isFilterStaticModifier()
/*  74:    */   {
/*  75: 84 */     return this.filterStaticModifier;
/*  76:    */   }
/*  77:    */   
/*  78:    */   public void setFilterStaticModifier(boolean paramBoolean)
/*  79:    */   {
/*  80: 88 */     this.filterStaticModifier = paramBoolean;
/*  81:    */   }
/*  82:    */   
/*  83:    */   public String getFilterFieldName()
/*  84:    */   {
/*  85: 92 */     if (this.filterFieldName == null) {
/*  86: 93 */       return "";
/*  87:    */     }
/*  88: 95 */     return this.filterFieldName;
/*  89:    */   }
/*  90:    */   
/*  91:    */   public void setFilterFieldName(String paramString)
/*  92:    */   {
/*  93: 99 */     this.filterFieldName = paramString;
/*  94:    */   }
/*  95:    */   
/*  96:    */   public boolean isEnableMethods()
/*  97:    */   {
/*  98:103 */     return this.enableMethods;
/*  99:    */   }
/* 100:    */   
/* 101:    */   public void setEnableMethods(boolean paramBoolean)
/* 102:    */   {
/* 103:107 */     this.enableMethods = paramBoolean;
/* 104:    */   }
/* 105:    */   
/* 106:    */   public String getFilterMethodName()
/* 107:    */   {
/* 108:111 */     if (this.filterMethodName == null) {
/* 109:112 */       return "";
/* 110:    */     }
/* 111:114 */     return this.filterMethodName;
/* 112:    */   }
/* 113:    */   
/* 114:    */   public void setFilterMethodName(String paramString)
/* 115:    */   {
/* 116:118 */     this.filterMethodName = paramString;
/* 117:    */   }
/* 118:    */   
/* 119:    */   public boolean isJumpToMethod()
/* 120:    */   {
/* 121:122 */     return this.jumpToMethod;
/* 122:    */   }
/* 123:    */   
/* 124:    */   public void setJumpToMethod(boolean paramBoolean)
/* 125:    */   {
/* 126:126 */     this.jumpToMethod = paramBoolean;
/* 127:    */   }
/* 128:    */   
/* 129:    */   public boolean isFilterEnumField()
/* 130:    */   {
/* 131:130 */     return this.filterEnumField;
/* 132:    */   }
/* 133:    */   
/* 134:    */   public void setFilterEnumField(boolean paramBoolean)
/* 135:    */   {
/* 136:134 */     this.filterEnumField = paramBoolean;
/* 137:    */   }
/* 138:    */   
/* 139:    */   public int getSortElements()
/* 140:    */   {
/* 141:138 */     return this.sortElements;
/* 142:    */   }
/* 143:    */   
/* 144:    */   public void setSortElements(int paramInt)
/* 145:    */   {
/* 146:142 */     this.sortElements = paramInt;
/* 147:    */   }
/* 148:    */   
/* 149:    */   public String getFilterFieldType()
/* 150:    */   {
/* 151:146 */     if (this.filterFieldType == null) {
/* 152:147 */       return "";
/* 153:    */     }
/* 154:149 */     return this.filterFieldType;
/* 155:    */   }
/* 156:    */   
/* 157:    */   public void setFilterFieldType(String paramString)
/* 158:    */   {
/* 159:153 */     this.filterFieldType = paramString;
/* 160:    */   }
/* 161:    */   
/* 162:    */   public boolean isFilterLoggers()
/* 163:    */   {
/* 164:157 */     return this.filterLoggers;
/* 165:    */   }
/* 166:    */   
/* 167:    */   public void setFilterLoggers(boolean paramBoolean)
/* 168:    */   {
/* 169:161 */     this.filterLoggers = paramBoolean;
/* 170:    */   }
/* 171:    */   
/* 172:    */   public String getFilterMethodType()
/* 173:    */   {
/* 174:165 */     if (this.filterMethodType == null) {
/* 175:166 */       return "";
/* 176:    */     }
/* 177:168 */     return this.filterMethodType;
/* 178:    */   }
/* 179:    */   
/* 180:    */   public void setFilterMethodType(String paramString)
/* 181:    */   {
/* 182:172 */     this.filterMethodType = paramString;
/* 183:    */   }
/* 184:    */   
/* 185:    */   public FilterPattern getFilterPattern()
/* 186:    */   {
/* 187:181 */     FilterPattern localFilterPattern = this.a;
/* 188:182 */     if (localFilterPattern != null) {
/* 189:183 */       return localFilterPattern;
/* 190:    */     }
/* 191:185 */     localFilterPattern = new FilterPattern();
/* 192:186 */     localFilterPattern.setConstantField(this.filterConstantField);
/* 193:187 */     localFilterPattern.setTransientModifier(this.filterTransientModifier);
/* 194:188 */     localFilterPattern.setStaticModifier(this.filterStaticModifier);
/* 195:189 */     localFilterPattern.setFieldName(this.filterFieldName);
/* 196:190 */     localFilterPattern.setFieldType(this.filterFieldType);
/* 197:191 */     localFilterPattern.setMethodName(this.filterMethodName);
/* 198:192 */     localFilterPattern.setMethodType(this.filterMethodType);
/* 199:193 */     localFilterPattern.setEnumField(this.filterEnumField);
/* 200:194 */     localFilterPattern.setLoggers(this.filterLoggers);
/* 201:195 */     return this.a = localFilterPattern;
/* 202:    */   }
/* 203:    */   
/* 204:    */   public boolean equals(Object paramObject)
/* 205:    */   {
/* 206:199 */     if (this == paramObject) {
/* 207:199 */       return true;
/* 208:    */     }
/* 209:200 */     if ((paramObject == null) || (getClass() != paramObject.getClass())) {
/* 210:200 */       return false;
/* 211:    */     }
/* 212:202 */     Config localConfig = (Config)paramObject;
/* 213:204 */     if (this.addImplementSerializable != localConfig.addImplementSerializable) {
/* 214:204 */       return false;
/* 215:    */     }
/* 216:205 */     if (this.enableMethods != localConfig.enableMethods) {
/* 217:205 */       return false;
/* 218:    */     }
/* 219:206 */     if (this.filterConstantField != localConfig.filterConstantField) {
/* 220:206 */       return false;
/* 221:    */     }
/* 222:207 */     if (this.filterEnumField != localConfig.filterEnumField) {
/* 223:207 */       return false;
/* 224:    */     }
/* 225:208 */     if (this.filterStaticModifier != localConfig.filterStaticModifier) {
/* 226:208 */       return false;
/* 227:    */     }
/* 228:209 */     if (this.filterTransientModifier != localConfig.filterTransientModifier) {
/* 229:209 */       return false;
/* 230:    */     }
/* 231:210 */     if (this.jumpToMethod != localConfig.jumpToMethod) {
/* 232:210 */       return false;
/* 233:    */     }
/* 234:211 */     if (this.sortElements != localConfig.sortElements) {
/* 235:211 */       return false;
/* 236:    */     }
/* 237:212 */     if (this.useFullyQualifiedName != localConfig.useFullyQualifiedName) {
/* 238:212 */       return false;
/* 239:    */     }
/* 240:213 */     if (this.filterFieldName != null ? !this.filterFieldName.equals(localConfig.filterFieldName) : localConfig.filterFieldName != null) {
/* 241:214 */       return false;
/* 242:    */     }
/* 243:215 */     if (this.filterFieldType != null ? !this.filterFieldType.equals(localConfig.filterFieldType) : localConfig.filterFieldType != null) {
/* 244:216 */       return false;
/* 245:    */     }
/* 246:217 */     if (this.filterMethodName != null ? !this.filterMethodName.equals(localConfig.filterMethodName) : localConfig.filterMethodName != null) {
/* 247:218 */       return false;
/* 248:    */     }
/* 249:219 */     if (this.filterMethodType != null ? !this.filterMethodType.equals(localConfig.filterMethodType) : localConfig.filterMethodType != null) {
/* 250:220 */       return false;
/* 251:    */     }
/* 252:221 */     if (!this.whenDuplicatesOption.equals(localConfig.whenDuplicatesOption)) {
/* 253:221 */       return false;
/* 254:    */     }
/* 255:222 */     if (!this.insertNewMethodOption.equals(localConfig.insertNewMethodOption)) {
/* 256:222 */       return false;
/* 257:    */     }
/* 258:224 */     return true;
/* 259:    */   }
/* 260:    */   
/* 261:    */   public int hashCode()
/* 262:    */   {
/* 263:229 */     int i = this.useFullyQualifiedName ? 1 : 0;
/* 264:230 */     i = 29 * i + this.whenDuplicatesOption.hashCode();
/* 265:231 */     i = 29 * i + this.insertNewMethodOption.hashCode();
/* 266:232 */     i = 29 * i + (this.filterConstantField ? 1 : 0);
/* 267:233 */     i = 29 * i + (this.filterEnumField ? 1 : 0);
/* 268:234 */     i = 29 * i + (this.filterTransientModifier ? 1 : 0);
/* 269:235 */     i = 29 * i + (this.filterStaticModifier ? 1 : 0);
/* 270:236 */     i = 29 * i + (this.filterFieldName != null ? this.filterFieldName.hashCode() : 0);
/* 271:237 */     i = 29 * i + (this.filterFieldType != null ? this.filterFieldType.hashCode() : 0);
/* 272:238 */     i = 29 * i + (this.filterMethodName != null ? this.filterMethodName.hashCode() : 0);
/* 273:239 */     i = 29 * i + (this.filterMethodType != null ? this.filterMethodType.hashCode() : 0);
/* 274:240 */     i = 29 * i + (this.addImplementSerializable ? 1 : 0);
/* 275:241 */     i = 29 * i + (this.enableMethods ? 1 : 0);
/* 276:242 */     i = 29 * i + (this.jumpToMethod ? 1 : 0);
/* 277:243 */     i = 29 * i + this.sortElements;
/* 278:244 */     return i;
/* 279:    */   }
/* 280:    */   
/* 281:    */   public String toString()
/* 282:    */   {
/* 283:248 */     return "Config{useFullyQualifiedName=" + this.useFullyQualifiedName + ", replaceDialogOption=" + this.whenDuplicatesOption + ", insertNewMethodOption=" + this.insertNewMethodOption + ", filterConstantField=" + this.filterConstantField + ", filterEnumField=" + this.filterEnumField + ", filterTransientModifier=" + this.filterTransientModifier + ", filterStaticModifier=" + this.filterStaticModifier + ", filterFieldName='" + this.filterFieldName + "'" + ", filterFieldType='" + this.filterFieldType + "'" + ", filterMethodName='" + this.filterMethodName + "'" + ", filterMethodType='" + this.filterMethodType + "'" + ", addImplementSerializable=" + this.addImplementSerializable + ", enableMethods=" + this.enableMethods + ", jumpToMethod=" + this.jumpToMethod + ", sortElements=" + this.sortElements + "}";
/* 284:    */   }
/* 285:    */ }


/* Location:           E:\idea\
 * Qualified Name:     org.jetbrains.generate.tostring.config.Config
 * JD-Core Version:    0.7.0.1
 */